﻿namespace Jim.OA;

/// <summary>
/// 获取指定流程流转数据
/// </summary>
[Sdk("/api/workflow/paService/getRequestOperatorInfo", description:"获取指定流程流转数据", "get")]
public class OAGetRequestOperatorInfoInput : OAUserRequest<OAGetRequestOperatorInfoOutput>, ISdkCustomDic
{
    [Required(ErrorMessage = "流程ID不能为空")]
    public string RequestId { get; set; }

    public SdkDictionary Dic()
    {
        SdkDictionary dic = new SdkDictionary();
        dic.Add("requestId", RequestId);
        return dic;
    }
}


public class OAGetRequestOperatorInfoOutput : SdkResponse<List<OAWorkFlowOperatorInfo>> { }

public class OAWorkFlowOperatorInfo
{ 
    public int AgentOrByAgentId { get; set; }
    public int AgentType { get; set; }
    public int GroupId { get; set; }
    public int Id { get; set; }
    public int IsRemark { get; set; }
    public string NodeName { get; set; }
    public int NodeId { get; set; }
    public string OperateDate { get; set; }
    public string OperateTime { get; set; }
    public int PreisRemark { get; set; }
    public string ReceiveDate { get; set; }
    public string ReceiveTime { get; set; }
    public string UserName { get; set; }
    public int UserType { get; set; }
    public int Userid { get; set; }
    public int ViewType { get; set; }
}
